package com.guguskins.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.GuMarket;
import com.guguskins.back.entity.vo.MarketVo;
import com.guguskins.back.entity.vo.PageVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-07-02
 */
public interface GuMarketService extends IService<GuMarket> {

    PageVo<MarketVo> getPage(int p, int size, int type);

    MarketVo exchange(Long userId, long marketId);

    PageVo<MarketVo> backPage(int pageNum, int pageSize);
}
